package com.yuyou.fn.tradingservice.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import javax.annotation.Resource;

/**
 *
 * 服务购物车条目
 *
 */
@TableName(value = "service_cart_item")
public class ServiceCartItem implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceCartItem> createExample(){
		return new Example<ServiceCartItem>(ServiceCartItem.class);
	}

	/**购物车条目ID*/
	@TableId(value = "cart_item_id")
	private Long cartItemId;

	/** 商品id */
	@TableField(value = "product_id")
	private Long productId;

	/** 商品名称 */
	@TableField(value = "product_name")
	private String productName;

	/**服务车ID*/
	@TableField(value = "cart_id")
	private Long cartId;

	/** 数量 */
	private Integer quantity;

	/**  */
	@TableField(value = "category_id")
	private Long categoryId;

	/** 类别名称 */
	@TableField(value = "category_name")
	private String categoryName;

	/** 服务内容 */
	private String content;

	/** 金额 */
	private BigDecimal price;

	/** 状态 */
	private Integer status;

	/**所属分类类型*/
	@TableField(value = "type")
	private Integer type;

	@TableField(value = "create_time")
	private Date createTime;

	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "image_url")
	private String imageUrl;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/** 业务组织名称 */
	@TableField(value = "bus_team_name")
	private String busTeamName;

	@TableField(value = "start_date")
	private String startDate;

	@TableField(value = "end_date")
	private String endDate;

	@TableField(value = "start_time")
	private String startTime;

	@TableField(value = "end_time")
	private String endTime;

	/**租赁时长 */
	@TableField(value = "rent_span")
	private BigDecimal rentSpan;

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getCartItemId() {
		return this.cartItemId;
	}

	public void setCartItemId(Long cartItemId) {
		this.cartItemId = cartItemId;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Long getCartId() {
		return this.cartId;
	}

	public void setCartId(Long cartId) {
		this.cartId = cartId;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getBusTeamId() {
		return busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public String getBusTeamName() {
		return busTeamName;
	}

	public void setBusTeamName(String busTeamName) {
		this.busTeamName = busTeamName;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public BigDecimal getRentSpan() {
		return rentSpan;
	}

	public void setRentSpan(BigDecimal rentSpan) {
		this.rentSpan = rentSpan;
	}
}
